//
//  ViewController.m
//  KKShareManger
//
//  Created by liaozhenming on 16/3/30.
//  Copyright © 2016年 liaozhenming. All rights reserved.
//

#import "ViewController.h"

#import "KKShareManager.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    [KKShareManager registerSinaWithAppKey:@"378925775" appSecret: @"ab8e38dac7510381969a9e8134dc9b85"];
    [KKShareManager registerWeiXinWithAppKey: @"wx06d0ddd96c9b9c8a" appSecret: @"e72c563407d95ea977ac58e8d32f56ea" appRequired: NO];
    [KKShareManager registerQQWithAppKey: @"1104683804" appSecret: nil appRequired: NO];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)kk_share:(id)sender {
    
    [KKShareManager shareContentWithTitle: @"测试" description:@"测试描述" image: @"http://7xjnth.com1.z0.glb.clouddn.com/leo.png" webURL: @"https://www.baidu.com"];
}

@end
